﻿@{
    ViewBag.Title = "LogOn";
    Layout = "/views/shared/_LayoutInit.cshtml";
}
@using (Html.BeginForm())
{ 
    <div class="logOn">
        <div style="background: #fff; width: 400px; border: 1px solid #000; padding: 0px; margin: 0px;">
            <h2 style="background: #5C87B2; color: #FFFFFF; margin: 0px;">用户登陆</h2>
            <span>
                @Html.ValidationSummary(true)</span>
            <p>
                账号：@Html.TextBox("UserName")
            </p>
            <p>
                密码：@Html.Password("Password")
            </p>
            <p>
                <input type="hidden" name="returnUrl" value="@Request.QueryString["returnUrl"]" />
                <input type="submit" name="a1" value="登陆" />
            </p>
        </div>
    </div>
   
}
